package com.techsoul.module.basic.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.techsoul.module.basic.pojo.entity.TmsCustomer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.techsoul.module.basic.pojo.param.TmsCustomerSearchParam;
import com.techsoul.module.basic.pojo.vo.TmsCustomerVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liuen
 * @since 2019-11-09
 */
public interface TmsCustomerMapper extends BaseMapper<TmsCustomer> {

    List<TmsCustomerVo> findAll(@Param("params") TmsCustomerSearchParam params);

    IPage<TmsCustomerVo> findAll(Page page, @Param("params") TmsCustomerSearchParam params);

}
